package com.lw.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author LW
 * @2021/6/14 14:05
 */
@Controller
public class StaticController {

    @RequestMapping("/")
    public String index(){
        System.out.println("这是首页");
        return "index";
    }


    @RequestMapping("/dynamic")
    public String dynamic(){
        return "dynamic";
    }

    @RequestMapping("/demo")
    public String demo(){
        return "demo";
    }
    @RequestMapping("/demo1")
    public String demo1(){
        return "demo1";
    }
    @RequestMapping("/demo2")
    public String demo2(){
        return "demo2";
    }
    @RequestMapping("/demo3")
    public String demo3(){
        return "demo3";
    }
    @RequestMapping("/demo4")
    public String demo4(){
        return "demo4";
    }
    @RequestMapping("/demo5")
    public String demo5(){
        return "demo5";
    }
    @RequestMapping("/demo6")
    public String demo6(){
        return "demo6";
    }
    @RequestMapping("/demo7")
    public String demo7(){
        return "demo7";
    }
    @RequestMapping("/click1")
    public String click1(){
        return "click1";
    }

    @RequestMapping("/mouseover")
    public String mouseover(){
        return "mouseover";
    }

}
